home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 40 / PC Gamer IT CD 40 1-2.iso / ELINK / CLARISHP / _SETUP.1 / HOMEPAGE.exe / 1009 / 1003 < prev    next >
Text File  |  1997-02-20  |  2KB  |  73 lines

  1. // -----
  2. // VDL1003.txt
  3. // Copyright 1996 SPI
  4. // -----
  5.  
  6.  
  7. //Save Changes Dialog
  8.  
  9. //NOTE: This dialog is NOT USED on Windows, the standard system Message box is.
  10.  
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12.  
  13.  
  14. #define kLit1 "Save"
  15. #define kLit2 "Cancel"
  16. #define kLit3 "Don't Save" 
  17. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  18.  
  19.  
  20.  
  21. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  22.  
  23. //Note: the following are CHAR constants, and must stay this way - the ASCII value is used in 
  24. //an arithmetic expression below. Each constant must be exactly 1 char.
  25. #define kDontSaveKey 'd'
  26. #define kCancelKey   'c'
  27. #define kSaveKey       's'
  28.  
  29. #define kOKWidth             70
  30. #define kCancelWidth     70
  31. #define kDontSaveWidth 100
  32.  
  33. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  34.  
  35.  
  36. //No further localizable data past this point
  37.  
  38. /************************** END LOCALIZABLE DATA ***************************************************/
  39.  
  40.  
  41. Margin(10,15,10,10, Width = 400)
  42.     HList(Width = UseParent)
  43.         {
  44.         ICON(1002);
  45.         
  46.         Spacer(Width = 10, Height = 0);
  47.         
  48.         VList(Width = UseParent)
  49.             {
  50.             Spacer(Width = 20, Height = 0);
  51.             
  52.             StaticText(message, Width = UseParent);
  53.             Spacer(Height = 30, Width = 0);
  54.             
  55.             HList(Width = UseParent)
  56.                 {
  57.                 CancelButton(kLit3, 1072, "None", 
  58.                                  Width = kDontSaveWidth, 
  59.                                  ExtraCommand = 32768 + kDontSaveKey); //ccSpecificKey
  60.                 Spacer(Height = 0, Width = UseParent);
  61.                 CancelButton(kLit2, 1070, "None", 
  62.                                 Width = kCancelWidth,
  63.                              ExtraCommand = 32768 + kCancelKey); //ccSpecificKey
  64.  
  65.                 Spacer(Height = 0, Width = 14);
  66.                 DefaultButton(kLit1, 1071, "None", 
  67.                                   Width = kOKWidth,
  68.                                    ExtraCommand = 32768 + kSaveKey); //ccSpecificKey
  69.                 }
  70.             }
  71.         }
  72.         
  73.